<style>
    .layui-form-label {
        width: 70px;
    }
</style>
<div class="layuimini-container">
    <div class="layuimini-main" id="app">

        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <ul class="layui-tab-title">
                <li class="layui-this">网站设置</li>
                <li>系统设置</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <form id="app-form" class="layui-form layuimini-form">
                        <input type="hidden" name="field" value="site">
                        <div class="layui-form-item">
                            <label class="layui-form-label">站点名称</label>
                            <div class="layui-input-block">
                                <input type="text" name="site_name" class="layui-input" lay-verify="required" placeholder="" value="{:sysconfig('site','site_name')}">
                                <tip>填写站点名称。</tip>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">SEO标语</label>
                            <div class="layui-input-block">
                                <input type="text" name="short_desc" class="layui-input" lay-verify="required" placeholder="" value="{:sysconfig('site','short_desc')}">
                                <tip>填写站点名称。</tip>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">SEO关键字</label>
                            <div class="layui-input-block">
                                <input type="text" name="keywords" class="layui-input" lay-verify="required" placeholder="" value="{:sysconfig('site','keywords')}">
                                <tip>填写站点名称。</tip>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">SEO描述</label>
                            <div class="layui-input-block">
                                <input type="text" name="description" class="layui-input" lay-verify="required" placeholder="" value="{:sysconfig('site','description')}">
                                <tip>填写站点名称。</tip>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">LOGO标题</label>
                            <div class="layui-input-block">
                                <input type="text" name="logo_title" class="layui-input" lay-verify="required" placeholder="请输入LOGO标题" value="{:sysconfig('site','logo_title')}">
                                <tip>填写站点名称。</tip>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">浏览器图标</label>
                            <div class="layui-input-block layuimini-upload">
                                <input name="site_ico" class="layui-input layui-col-xs6" placeholder="请上传浏览器图标,ico类型" value="{:sysconfig('site','site_ico')}">
                                <div class="layuimini-upload-btn">
                                    <span><a class="layui-btn" data-upload="site_ico" data-upload-number="one" data-upload-exts="ico"><i class="fa fa-upload"></i> 上传</a></span>
                                    <span><a class="layui-btn layui-btn-normal" id="select_site_ico" data-upload-select="site_ico" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">LOGO图标</label>
                            <div class="layui-input-block layuimini-upload">
                                <input name="logo_image" class="layui-input layui-col-xs6"  placeholder="请上传LOGO图标" value="{:sysconfig('site','logo_image')}">
                                <div class="layuimini-upload-btn">
                                    <span><a class="layui-btn" data-upload="logo_image" data-upload-number="one" data-upload-exts="ico|png|jpg|jpeg"><i class="fa fa-upload"></i> 上传</a></span>
                                    <span><a class="layui-btn layui-btn-normal" id="select_logo_image" data-upload-select="logo_image" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">备案信息</label>
                            <div class="layui-input-block">
                                <input type="text" name="site_beian" class="layui-input"  placeholder="请输入备案信息" value="{:sysconfig('site','site_beian')}">
                                <tip>填写备案信息。</tip>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">版权信息</label>
                            <div class="layui-input-block">
                                <input type="text" name="site_copyright" class="layui-input"  placeholder="请输入版权信息" value="{:sysconfig('site','site_copyright')}">
                                <tip>填写版权信息。</tip>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">站长QQ</label>
                            <div class="layui-input-block">
                                <input type="text" name="master_qq" class="layui-input"  value="{:sysconfig('site','master_qq')}">

                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">站长邮箱</label>
                            <div class="layui-input-block">
                                <input type="text" name="master_mail" class="layui-input"  value="{:sysconfig('site','master_mail')}">

                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">网站提示</label>
                            <div class="layui-input-block" >
                                <input type="text" name="site_desc" value="{:sysconfig('site','site_desc')}" placeholder="" autocomplete="off" class="layui-input">
                            </div>

                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">网站公告</label>
                            <div class="layui-input-block" >
                                <input type="text" name="site_notice" value="{:sysconfig('site','site_notice')}" placeholder="" autocomplete="off" class="layui-input">
                            </div>

                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">网站统计</label>
                            <div class="layui-input-block">
                                <textarea name="site_tongji" placeholder="" autocomplete="off" class="layui-textarea">
                                    {:sysconfig('site','site_tongji')}
                                </textarea>
                            </div>
                        </div>

                        <div class="hr-line"></div>
                        <div class="submit-info text-center">
                            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="system.config/save" data-refresh="false">确认</button>
                            <a class="layui-btn layui-btn-primary layui-btn-sm" layform-close>关闭</a>
                        </div>

                    </form>
                </div>
                <div class="layui-tab-item">
                    {include file="system/config/system" /}
                </div>
            </div>
        </div>

    </div>
</div>